package com.wing.qualityTesting.model.response;

import com.wing.qualityTesting.model.entity.QualityTestingTaskError;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @version 1.1.0
 * @Author hz
 * @Date 2024-10-31 09:34
 **/
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class QualityTaskDetailRecordVo {
    //-------------------------------------- 任务相关 ----------------------------------------//
    /**
     * 质检分类
     */
    private String testingCategoryName;
    private String qualityTestingCategoryId;

    /**
     * 质检人
     */
    private String creatorName;

    /**
     * 质检时间
     */
    private LocalDateTime createTime;


    private Long recordId;

    /**
     * 质检类型
     */
    private String testingTypeName;
    private String qualityTestingTypeId;

    private String qualityTestingNatureName;

    /**
     * 送检数量
     */
    private Integer submissionQuantity;

    /**
     * 状态
     */
    private String status;

    /**
     * 所属开工单
     */
    private String workOrderCode;

    /**
     * 检测工位编号
     */
    private String inspectDeviceCode;

    /**
     * 送检工站
     */
    private String deviceCode;
    /**
     * 产品编号
     */
    private String skuCode;
    /**
     * SKU名称
     */
    private String skuName;
    /**
     * 附件
     */
    private String accessory;

    /**
     * 计划编号
     */
    private String planCode;

    /**
     * 载具编码
     */
    private String carrierCode;

    /**
     * 类型名称
     */
    private String productTypeName;

    /**
     * 备注
     */
    private String remark;

    /**
     * 明细列表
     */
    private List<QualityTaskDetailInfoVo> taskDetailInfoVos;


    /**
     * 数据异常信息
     */
    private List<QualityTestingTaskError> qualityTestingTaskErrors;


    //时间轴信息
    private QualityTimeDetailInfoVo qualityTimeDetailInfoVo;

}
